Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-597

RuntimeException in com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSourceNumber

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8.3, 3.0
    • 2.8.3, 3.0
    • Templates and UI
    • None
    • JSPWiki v3.0.0-svn-150
      Tomcat 6.0.20
      Java 6
      Linux

      FF 3.5

    Description

      I think JavaScript is completely broken at the moment.

      Looking at the FireFox Error console, it tells me :

       
      Error: missing ; before statement
      Source File: http://localhost:8080/JSPWiki/scripts/prettify.js
      Line: 1, Column: 13
      Source Code:
      Exception in thread "main" java.lang.RuntimeException 
      

      Double clicking it, tells me some more:

       
      Exception in thread "main" java.lang.RuntimeException
      	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSourceNumber(JavaScriptCompressor.java:289)
      	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:325)
      	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:522)
      	at com.yahoo.platform.yui.compressor.YUICompressor.main(YUICompressor.java:120)
      

      Which reminds me of some error messages when building the project , those might be relate ? :

      .........
      compressedjs:
           [java] Java Result: 1
           [java] Java Result: 1
           [java] Java Result: 1
           [java] Java Result: 1
           [java] Java Result: 1
      war:
         [delete] Deleting: /home/metskem/workspace/JSPWiki/build/JSPWiki.war
      ......
      

      Attachments

        Activity

          People

            metskem Harry Metske
            metskem Harry Metske
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: